/**
 * Alibaba.com.cn Inc.
 * Copyright (c) 2004-2021 All Rights Reserved.
 */
package com.starlink.model.request.schoolbag;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author zhanghong
 * @version SchoolbagOrderSubmitRequest.java, v 0.1 2024/4/25 22:45 下午 SchoolbagOrderSubmitRequest Exp $$
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("书包下单请求模型")
public class SchoolbagOrderSubmitRequest implements Serializable {

    private static final long serialVersionUID = -6543186749652824474L;
    @ApiModelProperty("订单id")
    private Long orderId;
    @NotNull(message = "书包类型id不能为空")
    @ApiModelProperty("书包类型id")
    private Long schoolbagId;
    @NotNull(message = "书包规格id不能为空")
    @ApiModelProperty("书包规格类型id")
    private Long schoolbagSpecId;
    @NotNull(message = "支付金额不能为空")
    @ApiModelProperty("支付金额")
    private BigDecimal payMoney;
    @NotNull(message = "地址id不能为空")
    @ApiModelProperty("地址id")
    private Long addressId;
    @NotNull(message = "用户openId不能为空")
    @ApiModelProperty("用户openId")
    private String openId;
    @NotNull(message = "订阅人不能为空")
    @ApiModelProperty("订阅人")
    private String username;
    @NotNull(message = "电话不能为空")
    @ApiModelProperty("电话")
    private String mobile;
}
